package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseCreateDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * 子公司分管公司关系表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_group_company")
@Key(UUID = true)
public class GroupCompanyDO extends BaseCreateDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 组织ID
     */
    private String groupId;
    /**
     * 用工单位id
     */
    private String companyId;
    /**
     * 是否是全部用工单位(1:是,0:不是)
     */
    private Boolean isAll;



}

